<%@ include file="../common.jsp" %>

<hr/>

<div>
	<form id="searchedUserResultFrom">
		<table class="viewDetails">
				<tr class="heading">
					<th colspan="2"> Searched Users </th>
				</tr>
			<c:forEach var="userDetails" items="${userDetails}" varStatus="loop">
				<c:set var="tabColor" value="odd"></c:set>
				     	<c:if test="${(loop.index % 2) eq 0}">
				        	<c:set var="tabColor" value="even"></c:set>
				        </c:if>
				<tr class="${tabColor}">
					<td>
						<input type="checkbox" value="${userDetails.userDisplayName},${userDetails.username}" name="check" />
	<%-- 					<a href="javascript:chooseUser('${userDetails.userDisplayName}','${userDetails.username}')">${userDetails.userDisplayName} ( ${userDetails.username} ) </a><br/> --%>
					</td>
					<td align="left">${userDetails.userDisplayName} ( ${userDetails.username} )</td>
				</tr>
			</c:forEach>
				<tr class="even">
					<td colspan="2">
						<input type="button" value="Submit" class="formButton" onclick="javascript:submitSelectedUsers()"> 
					</td>
				</tr>
		</table>
	</form>
</div>	 	